package com.sp.scmdb.daoImpl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.sp.scmdb.common.dao.BaseDaoSupport;
import com.sp.scmdb.dao.AreaDao;
import com.sp.scmdb.entity.Area;

@Repository
public class AreaImpl extends BaseDaoSupport<Area> implements AreaDao {

	@SuppressWarnings("unchecked")
	public List<Area> findAreaByHql(String Hql) {
		return findByQuery(Hql);
	}
}
